package com.travel.dao;

import com.travel.entity.TArticleComments;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface TArticleCommentsDao {
    TArticleComments getArticleComments();
    List<TArticleComments> getAllComments();
    List<TArticleComments> findArticle();    /*查找二级*/
    List<TArticleComments>  getCommentByParentId(Integer parentId);
    /*删除*/
    int deleteArticleComment(Integer articleId);
    int addComment(TArticleComments articleComments);
}
